package com.treasure.mall.biz.mapstruct;

import com.treasure.mall.biz.dto.live.ApplyLiveDTO;
import com.treasure.mall.biz.dto.live.LiveRoomImagesSaveDTO;
import com.treasure.mall.biz.dto.live.LiveRoomVideoSaveDTO;
import com.treasure.mall.biz.entity.embeddable.LiveRoomData;
import com.treasure.mall.biz.entity.live.LiveRoomImagesPO;
import com.treasure.mall.biz.entity.live.LiveRoomVideoPO;
import com.treasure.mall.biz.vo.live.LiveRoomImagesVO;
import com.treasure.mall.biz.vo.live.LiveRoomVideoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 *
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.mapstruct
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/12 11:37
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.mapstruct Inc. All rights reserved.
 */
@Mapper
public interface LiveRoomMapStruct {
    LiveRoomMapStruct INSTANCE = Mappers.getMapper(LiveRoomMapStruct.class);


    LiveRoomData dto2LiveRoomData(ApplyLiveDTO dto);


    LiveRoomVideoPO dto2LiveRoomVideoPO(LiveRoomVideoSaveDTO dto);


    LiveRoomVideoVO liveRoomVideoPO2vo(LiveRoomVideoPO po);


    LiveRoomImagesVO liveRoomImagesPO2vo(LiveRoomImagesPO po);


    LiveRoomImagesPO dto2LiveRoomImagesPO(LiveRoomImagesSaveDTO dto);

}
